#encoding=utf-8
'''
Created on 2018-7-9

@author: cooler
'''

from app import create_app
from datetime import timedelta

app = create_app()
# db = ArtMysql(app)
app.config['MAX_CONTENT_LENGTH'] = 1600 * 1024 * 1024

app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'
app.permanent_session_lifetime = timedelta(seconds=20*60)

if __name__ == '__main__':
    app.run(debug=True)